#include <bits/stdc++.h>
using namespace std;
int a[1000050];
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    int T,n,m,x,y,z;
    cin>>n>>m;
    for (int i=1;i<=n;i++){
        cin>>a[i];
    }
    for (int i=1;i<=m;i++){
        cin>>a[i];
    }
    cin>>x>>y>>z;
    for (int i=1;i<=T;i++){
        cout<<rand()%101<<endl;
    }

    /*int a;
    cin>>a;
    cout<<a;*/
    return 0;
}
